<? 
include("../config.inc.php");
include("../clases.php");
include("../util.php");
	session_start();
	if(empty($_SESSION) || !@$_SESSION["obj_sesion"]->compruebaAcceso("ADME")){
		echo "<script language='javascript'>location.href='salir.php'</script>";
		die();
	}
?>

<style>
.ui-datepicker {z-index:1200;}
input.largo{width:90%;}
</style>

<script language="javascript" src="articulos/funciones.js"></script>

<br>
<table width="100%">
<tr>
	<td style="width:2%"></td>
	<td><table id="list"></table></td>
	<td style="width:2%"></td>
</tr>
</table>
<div id="pager" style=""></div> 
<div id="filter" style="margin-left:30%;display:none">Search Invoices</div>
<?
if($_SESSION["obj_sesion"]->getTipo()=="Normal" ){?>   
			<script language="javascript"> print_grid2(); cargar_pub(Array('#','#','#'),Array('Inicio','Art&iacute;culos','Listado'));</script>
		<? } else  if($_SESSION["obj_sesion"]->getTipo()=="Superusuario" ){?>
        	<script language="javascript"> print_grid(); cargar_pub(Array('#','#','#'),Array('Inicio','Art&iacute;culos','Listado'));</script>
        <? } ?>
